home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
pvm34b3.zip
/
pvm34b3
/
pvm3
/
libfpvm
/
WIN32
/
Pvmfputinfo.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-07-22
|
560b
|
30 lines
/* $Id: Pvmfputinfo.c,v 1.1 1997/06/27 16:30:02 pvmsrc Exp $ */
#ifdef WIN32
#include "..\..\src\pvmwin.h"
#endif
#include "pvm3.h"
#include "pvm_consts.h"
void __fortran
PVMFPUTINFO(name_ptr, bufid, flags, mbx_index, name_len)
char * name_ptr; int name_len;
int *bufid, *flags, *mbx_index;
{
char tname[MAX_MBOX_NAME + 1];
/*
* Copy the mailbox name to make sure there is
* a NUL at the end.
*/
if (ftocstr(tname, sizeof(tname), name_ptr, name_len)) {
*mbx_index = PvmBadParam;
return;
}
*mbx_index = pvm_putinfo(tname, *bufid, *flags);
}